package net.qiqbframework.eventhandling.notice;

import net.qiqbframework.eventhandling.DomainEventMessage;

public interface DomainEventChannel {


    /**
     * 仅仅是通知
     *
     * @param domainEventMessage
     * @return
     */
    DomainEventNoticeResponse notice(DomainEventMessage<?> domainEventMessage);


    /**
     * 通知时有回应后再次请求实际处理
     *
     * @param
     * @return
     */
    Boolean ask(String replyId, DomainEventMessage<?> domainEventMessage);

    Boolean feedback(ProcessFeedbackInfo feedbackInfo);

}
